package com.cinema;
import java.io.Serializable;

public class Movie implements Serializable {
    private static final long serialVersionUID = 1L;
    private String movieId;
    private String name;
    private String director;
    private String actor;
    private String intro;
    private int duration;
    private double score;

    public Movie(String movieId, String name, String director, String actor, String intro, int duration, double score) {
        this.movieId = movieId;
        this.name = name;
        this.director = director;
        this.actor = actor;
        this.intro = intro;
        this.duration = duration;
        this.score = score;
    }


    public String getMovieId() { return movieId; }
    public String getName() { return name; }
    public void setName(String name) { this.name = name; }
    public String getDirector() { return director; }
    public String getActor() { return actor; }
    public String getIntro() { return intro; }
    public int getDuration() { return duration; }
    public double getScore() { return score; }
}
